## es mapping初始化
## 市场管理
curl http://pt2jobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"corpid":1,"userId":"1","platform":"web","frontDev":"1","businessType":8100,"saasMark":1,"xbbCode":123456}'
 ## 销售线索
 curl http://pt2jobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"corpid":1,"userId":"1","platform":"web","frontDev":"1","businessType":8000,"saasMark":1,"xbbCode":123456}'

 ## es index添加别名 (调用的是 PRO-WEB-SCRIPT 服务,2019端口)
 ## 市场
 curl http://pt2jobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"corpid":1,"userId":"1","platform":"web","frontDev":"1","businessType":8000,"saasMark":1,"xbbCode":123456}'
 ## 线索
 curl http://pt2jobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"corpid":1,"userId":"1","platform":"web","frontDev":"1","businessType":8100,"saasMark":1,"xbbCode":123456}'


## 市场活动中间表
curl http://pt2jobs.xbongbong.com.cn/pro/v1/esInit/formStaticsData -X POST -H 'Content-type: application/json' -d '{"corpid":1,"userId":"1","platform":"web","frontDev":"1","businessType":3,"saasMark":1,"xbbCode":123456}'
## 刷别名
curl http://pt2jobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"corpid":1,"userId":"1","platform":"web","frontDev":"1","businessType":3,"saasMark":1,"xbbCode":123456}'



## 对客户表单
## 关联销售线索字段、销售线索名称隐藏、评分字段、标签字段 operate为3时，1691、1592、1432秒 operate为2时 1650、1721、1692秒
curl  http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/addCustomerExplain -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","fieldAttrList":["text_81","text_82","num_61","array_31"],"businessType":100,"attr":"1","xbbCode":"123456","operate":2}'
